package com.ruoyi.order.station.request.instance;

import com.github.s7connector.api.annotation.S7Variable;
import com.github.s7connector.impl.utils.S7Type;
import lombok.Data;

@Data
public class OP17Data {
    //1#螺丝拧紧结果
    @S7Variable(byteOffset = 0, bitOffset = 0, type = S7Type.WORD)
    public Integer tightenResult01;
    //2#螺丝拧紧结果
    @S7Variable(byteOffset = 2, bitOffset = 0, type = S7Type.WORD)
    public Integer tightenResult02;
    //3#螺丝拧紧结果
    @S7Variable(byteOffset = 4, bitOffset = 0, type = S7Type.WORD)
    public Integer tightenResult03;
    //4#螺丝拧紧结果
    @S7Variable(byteOffset = 6, bitOffset = 0, type = S7Type.WORD)
    public Integer tightenResult04;
    //5#螺丝拧紧结果
    @S7Variable(byteOffset = 8, bitOffset = 0, type = S7Type.WORD)
    public Integer tightenResult05;
    //6#螺丝拧紧结果
    @S7Variable(byteOffset = 10, bitOffset = 0, type = S7Type.WORD)
    public Integer tightenResult06;
    //7#螺丝拧紧结果
    @S7Variable(byteOffset = 12, bitOffset = 0, type = S7Type.WORD)
    public Integer tightenResult07;
    //8#螺丝拧紧结果
    @S7Variable(byteOffset = 14, bitOffset = 0, type = S7Type.WORD)
    public Integer tightenResult08;
    //9#螺丝拧紧结果
    @S7Variable(byteOffset = 16, bitOffset = 0, type = S7Type.WORD)
    public Integer tightenResult09;
    //10#螺丝拧紧结果
    @S7Variable(byteOffset = 18, bitOffset = 0, type = S7Type.WORD)
    public Integer tightenResult10;
    //11#螺丝拧紧结果
    @S7Variable(byteOffset = 20, bitOffset = 0, type = S7Type.WORD)
    public Integer tightenResult11;
    //12#螺丝拧紧结果
    @S7Variable(byteOffset = 22, bitOffset = 0, type = S7Type.WORD)
    public Integer tightenResult12;

    //第一种螺丝批次号
    @S7Variable(byteOffset = 30, arraySize = 80, type = S7Type.BYTE)
    public byte[] screwBatchNo01;
    //第二种螺丝批次号
    @S7Variable(byteOffset = 110, arraySize = 80, type = S7Type.BYTE)
    public byte[] screwBatchNo02;

    //1#螺丝拧紧程序号
    @S7Variable(byteOffset = 350, bitOffset = 0, type = S7Type.WORD)
    public Integer programNo01;
    //1#螺丝拧紧最小扭矩
    @S7Variable(byteOffset = 352, bitOffset = 0, type = S7Type.REAL)
    public float minTorque01;
    //1#螺丝拧紧最终扭矩
    @S7Variable(byteOffset = 356, bitOffset = 0, type = S7Type.REAL)
    public float actTorque01;
    //1#螺丝拧紧最大扭矩
    @S7Variable(byteOffset = 360, bitOffset = 0, type = S7Type.REAL)
    public float maxTorque01;
    //1#螺丝拧紧最小角度
    @S7Variable(byteOffset = 364, bitOffset = 0, type = S7Type.REAL)
    public float minAngle01;
    //1#螺丝拧紧最小角度
    @S7Variable(byteOffset = 368, bitOffset = 0, type = S7Type.REAL)
    public float actAngle01;
    //1#螺丝拧紧最小角度
    @S7Variable(byteOffset = 372, bitOffset = 0, type = S7Type.REAL)
    public float maxAngle01;


    //2#螺丝拧紧程序号
    @S7Variable(byteOffset = 378, bitOffset = 0, type = S7Type.WORD)
    public Integer programNo02;
    //2#螺丝拧紧最小扭矩
    @S7Variable(byteOffset = 380, bitOffset = 0, type = S7Type.REAL)
    public float minTorque02;
    //1#螺丝拧紧最终扭矩
    @S7Variable(byteOffset = 384, bitOffset = 0, type = S7Type.REAL)
    public float actTorque02;
    //2#螺丝拧紧最大扭矩
    @S7Variable(byteOffset = 388, bitOffset = 0, type = S7Type.REAL)
    public float maxTorque02;
    //2#螺丝拧紧最小角度
    @S7Variable(byteOffset = 392, bitOffset = 0, type = S7Type.REAL)
    public float minAngle02;
    //2#螺丝拧紧最终角度
    @S7Variable(byteOffset = 396, bitOffset = 0, type = S7Type.REAL)
    public float actAngle02;
    //2#螺丝拧紧最大角度
    @S7Variable(byteOffset = 400, bitOffset = 0, type = S7Type.REAL)
    public float maxAngle02;


    //3#螺丝拧紧程序号
    @S7Variable(byteOffset = 406, bitOffset = 0, type = S7Type.WORD)
    public Integer programNo03;
    //3#螺丝拧紧最小扭矩
    @S7Variable(byteOffset = 408, bitOffset = 0, type = S7Type.REAL)
    public float minTorque03;
    //3#螺丝拧紧最终扭矩
    @S7Variable(byteOffset = 412, bitOffset = 0, type = S7Type.REAL)
    public float actTorque03;
    //3#螺丝拧紧最大扭矩
    @S7Variable(byteOffset = 416, bitOffset = 0, type = S7Type.REAL)
    public float maxTorque03;
    //3#螺丝拧紧最小角度
    @S7Variable(byteOffset = 420, bitOffset = 0, type = S7Type.REAL)
    public float minAngle03;
    //3#螺丝拧紧最终角度
    @S7Variable(byteOffset = 424, bitOffset = 0, type = S7Type.REAL)
    public float actAngle03;
    //2#螺丝拧紧最大角度
    @S7Variable(byteOffset = 428, bitOffset = 0, type = S7Type.REAL)
    public float maxAngle03;


    //4#螺丝拧紧程序号
    @S7Variable(byteOffset = 434, bitOffset = 0, type = S7Type.WORD)
    public Integer programNo04;
    //4#螺丝拧紧最小扭矩
    @S7Variable(byteOffset = 436, bitOffset = 0, type = S7Type.REAL)
    public float minTorque04;
    //4#螺丝拧紧最终扭矩
    @S7Variable(byteOffset = 440, bitOffset = 0, type = S7Type.REAL)
    public float actTorque04;
    //4#螺丝拧紧最大扭矩
    @S7Variable(byteOffset = 444, bitOffset = 0, type = S7Type.REAL)
    public float maxTorque04;
    //4#螺丝拧紧最小角度
    @S7Variable(byteOffset = 448, bitOffset = 0, type = S7Type.REAL)
    public float minAngle04;
    //4#螺丝拧紧最终角度
    @S7Variable(byteOffset = 452, bitOffset = 0, type = S7Type.REAL)
    public float actAngle04;
    //4#螺丝拧紧最大角度
    @S7Variable(byteOffset = 456, bitOffset = 0, type = S7Type.REAL)
    public float maxAngle04;
}
